package com.lxq.rental.property.service;

/**
 * @description:
 * @author: LuoXiaoQiang
 * @date: 5/10/2025 1:14 AM
 * Copyright (c) 2025, LXQ Cloud All Rights Reserved.
 */


import com.lxq.rental.property.model.Property;
import com.lxq.rental.property.dto.PropertyDTO;

import java.util.List;

public interface PropertyService {
    List<Property> getAllProperties();
    Property getPropertyById(Long id);
    Property createProperty(PropertyDTO dto);
    Property updateProperty(Long id, PropertyDTO dto);
    void deleteProperty(Long id);
}